Number of non-intersecting paths